package cn.beforedark.yygh.cmn.service;

import cn.beforedark.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DictService extends IService<Dict> {
    List<Dict> getChildListByPid(Long pid);

    void exportExcel(HttpServletResponse response);

    void importExcel(MultipartFile file);

    String getNameByDictCodeAndValue(String dictCode, Long value);

    Dict getByDictCode(String dictCode);
}
